package com.foreknow.demo12;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.Reader;

public class Application {
    /**
     * 多态实际中的应用
     *
    * */
    public void m1(Reader reader){
    }

    public static void main(String[] args) throws FileNotFoundException {
        Application app = new Application();
        FileReader fileReader = new FileReader("");
        app.m1(fileReader);
    }

}
